<?php
function __autoload($class_name) {
	include $class_name . '.php';
}
session_start();
$msg = $_REQUEST['msg'];
$user = $_SESSION['userPrincipal'] -> getUsername();
$user_id = $_SESSION['userPrincipal'] -> getUserId();


Classes\ChatOperations::submitMsg($user_id, $user, $msg);
Classes\ChatOperations::displayLogs();

?>